package com.hzp.micromall.auth.service;

import com.hzp.micromall.common.core.entity.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author houzipeng
 * @Date 2022/2/10 20:51
 * @Version 1.0
 */
@FeignClient("micromall-user")
public interface UmsAdminDetailService {
    @GetMapping("/admin/loadAdminByUsername")
    UserDto loadUserByUsername(@RequestParam String username);
}
